<template>
	<view>
		<view class="txt">
			专题精选
		</view>
		<view class="img">
			<scroll-view class="scroll-view_H" scroll-x="true">
				<image v-for="item in top" class="scroll-view-item_H" :src="item.scene_pic_url">
				</image>
			</scroll-view>
		</view>
	</view>
	</view>
	</view>
</template>

<script>
	export default {
		props: ['top'],
		name: "child",
		data() {
			return {};
		},
		// vue的生命周期
		created() {

		},
		mounted() {

		}
	}
</script>

<style lang="scss">
	.txt {
		width: 100%;
		height: 90rpx;
		border: 1px solid black;
		font-size: 20px;
		font-weight: 500;
		display: flex;
		justify-content: space-around;
		align-items: center;
		margin-bottom: 10rpx;
	}

	.img {
		// width: 100%;
		height: 500rpx;
		border: 1px solid black;
		// overflow: hidden;
		// display: flex;
		// flex-wrap: nowrap;

	}

	.scroll-view_H {
		white-space: nowrap;
		width: 100%;
		// display: flex;
	}


	.scroll-view-item_H {
		display: inline-block;
		// display: inline-flex;
		width: 500rpx;
		height: 300rpx;
		margin: 0 10rpx;
		background-color: #fcf;

	}
</style>
